import http from"../api/http"
//登录
export const loginApi=(data)=>http.post('/user',data)
//注册
export const registerApi=(data)=>http.post('/user/registry',data)
//退出
export const outApi=(data)=>http.get('/user/out',{params:data})
//书信token 会过期